<template>
  <div class="userhead">
    <Nav></Nav>
    <avatar></avatar>
  </div>
</template>

<script lang="ts" setup>
import Avatar from "@/components/Avatar.vue";
import Nav from "@/components/Nav.vue";

</script>

<style scoped>
.userhead{
  width: 80%; /* 设置div的宽度 */
  margin: 0 auto; /* 上下外边距为0，左右外边距自动调整 */
}
</style>